/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package systole.processor.filters;




/**
 *
 * @author user
 */
public class RemezEquiripple implements FilterAlgorithm{

    private RemezFIRFilter remFilter;
    
    /**
     * 
     */
    public RemezEquiripple(){
        this.remFilter = new RemezFIRFilter();
    }

    public double[] filter(FilterConfiguration filtConf){
        double[] a =  this.remFilter.remez(filtConf.getOrder() + 1, filtConf.getBands(), filtConf.getDesired(), filtConf.getWeights(), RemezFIRFilter.BANDPASS);
        return a;
    }

}
